ci: add flaky-test management (#489) - #2
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cargo, no package.json) —ci.yml(PR gate) +publish.yml(tag-driven crates.io release).ci.ymltest job switched tocargo-nextestwith.config/nextest.toml(retries = 2) so a flaky test is retried instead of red-flagging the PR; doctests kept on plaincargo test --doc(nextest doesn't run them).ci.ymlcoverage job switched to the combinedcargo llvm-cov nextest --fail-under-lines 80form so coverage instrumentation is still collected under nextest and the >=80% line gate still runs (the splitnextest run+ separatellvm-covform collects zero coverage and fails the gate — the bug in the first-pass PRs, per #489).publish.yml(tag-triggered deploy) no longer re-runs the fulltestjob before publish — removed job + itsneeds: test. The PR gates inci.ymlalready tested this exact tree (branch protection requires up-to-date-with-main), so a redundant/flaky re-run on the release path could block a release for code already proven green (#488 release-blocker). Publish now = build + package + publish only.Test plan
Refs #489, #488
Co-Authored-By: Claude noreply@anthropic.com